<div>

    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="form-control form-control  inline"
                                    v-model="attendanceCheckInInfo.conditions.machineId">
                                    <option selected value="">请选择考勤机</option>
                                    <option :value="item.machineId"
                                        v-for="(item,index) in  attendanceCheckInInfo.machines">
                                        {{item.machineName}}</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写用户名称','attendanceCheckIn')"
                                    v-model="attendanceCheckInInfo.conditions.name" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写手机号','attendanceCheckIn')"
                                    v-model="attendanceCheckInInfo.conditions.tel" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <select class="form-control form-control  inline"
                                    v-model="attendanceCheckInInfo.conditions.state">
                                    <option selected value="">请选择状态</option>
                                    <option value="C">考勤成功</option>
                                    <option value="F">考勤失败</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryAttendanceCheckInMethod()">
                                <vc:i18n name="查询"></vc:i18n>
                            </button>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入开始时间','attendanceCheckIn')"
                                    v-model="attendanceCheckInInfo.conditions.queryStartTime"
                                    class=" form-control queryStartTime">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入结束时间','attendanceCheckIn')"
                                    v-model="attendanceCheckInInfo.conditions.queryEndTime"
                                    class=" form-control queryEndTime">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="进出记录" namespace="attendanceCheckIn"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name='人脸' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='编号' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='设备名称' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='设备编码' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='用户名称' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='考勤方式' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='手机号' namespace='attendanceCheckIn'></vc:i18n>
                                </th>

                                <th class="text-center">
                                    <vc:i18n name='考勤状态' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='考勤时间' namespace='attendanceCheckIn'></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="attendanceCheckIn in attendanceCheckInInfo.checkIns">
                                <td class="text-center" style="white-space: nowrap;">
                                    <img style="width: 60px; height: 60px;" class="border-radius"
                                        v-if="attendanceCheckIn.facePath" v-bind:src="attendanceCheckIn.facePath"
                                        v-on:click="_viewOwnerFace(attendanceCheckIn.facePath)" />
                                    <img style="width: 60px; height: 60px;" class="border-radius" v-else
                                        src="/img/noPhoto.jpg" />
                                </td>
                                <td class="text-center">{{attendanceCheckIn.inoutId}}</td>
                                <td class="text-center">{{attendanceCheckIn.machineName}}</td>
                                <td class="text-center">{{attendanceCheckIn.machineCode}}</td>
                                <td class="text-center">{{attendanceCheckIn.name}}</td>
                                <td class="text-center">{{attendanceCheckIn.openTypeCd == '1000'?'人脸':'其他'}}</td>
                                <td class="text-center">{{attendanceCheckIn.tel || '-'}}</td>
                                <td class="text-center">{{attendanceCheckIn.state == 'C'?'考勤成功':'考勤失败'}}</td>
                                <td class="text-center">{{attendanceCheckIn.createTime}}</td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>

        </div>
    </div>
</div>